package cn.edu.scau.cmi.wujiacheng.composite.consistent;

public abstract class Team {
	private String name;
	private int level;
	
	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public abstract void printMember();
	
	public abstract void addMember(Team t);
	
	public abstract void removeMember(Team t);
	
	public abstract Team getMember(int index);
}
